def main():
    num = input('请输入一个正整数：')
    while True:
        sum = 0
        for i in num){
            sum += int(i) ** 2
        if sum == 4:
            print('这个数字不快乐。。。')
            break
        if sum == 1:
            print('这个数字超级快乐！')
            break

if __name__ == '__main__':
    main()
